#ifndef OPENSLESRECORD_RECORDBUFFER_H
#define OPENSLESRECORD_RECORDBUFFER_H


#include <zconf.h>

class RecordBuffer {
public:
    //二级指针,就是一个数组
    Byte **buffer;
    int index = -1;

public:
    RecordBuffer(int buffersize);
    ~RecordBuffer();
    //新的buffer
    Byte *getRecordBuffer();
    //录制好的buffer
    Byte *getNowBuffer();
};


#endif //OPENSLESRECORD_RECORDBUFFER_H